<?php if(!defined("PATH_HD"))exit;C("SHOW_NOTICE",false);?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title></title>
    <script type="text/javascript" src="http://localhost/cms0121/admin/tpl/public/js/jquery-1.8.3.js"></script>
    <script type="text/javascript">
        var cc="http://localhost/cms0121/admin.php/arc/arcdel";
    </script>
    <script type='text/javascript'>
		HOST = 'http://localhost';
		ROOT = 'http://localhost/cms0121';
		HDPHP = 'http://localhost/hdphp/hdphp';
		STATIC = 'http://localhost/cms0121/static';
		HDPHPDATA = 'http://localhost/hdphp/hdphp/data';
		HDPHPTPL = 'http://localhost/hdphp/hdphp/libs/tpl';
		HDPHPPLUGIN = 'http://localhost/hdphp/hdphp/plugin';
		WEB = 'http://localhost/cms0121/admin.php';
		APP = 'http://localhost/cms0121/admin.php';
		CONTROL = 'http://localhost/cms0121/admin.php/ARC';
		METH = 'http://localhost/cms0121/admin.php/ARC/index';
		URL = 'http://localhost/cms0121/admin.php/ARC/index';
		TPL = 'http://localhost/cms0121/admin/tpl';
		PUBLIC = 'http://localhost/cms0121/admin/tpl/public';
</script>
	<link rel="stylesheet" type="text/css" href="http://localhost/cms0121/admin/tpl/public/css/category.css" />
    <script type="text/javascript" src="http://localhost/cms0121/admin/tpl/public/js/arc.js"></script>
	
</head>
<body>
	<table class='table1'>
		<thead>
			<tr>
                <th width="30">选择</th>
	            <th width="10">ID</th>
	            <th>文章标题</th>
	            <th>所属栏目</th>
	            <th>点击数</th>
                <th>添加时间</th>
	            <th width="250">操作</th>
        	</tr>
		</thead>
		<tbody>
            <?php $hd["list"]["r"]["total"]=0;
if(!empty($row)):
$hd_list_total = count($row);
$hd_list_row = min($hd_list_total,1000);
$hd_list_row = floor($hd_list_row/1);
$hd_list_id=0;
$hd_list_start=1;
$hd_list_step=0;foreach($row as $hd_list_key =>$hd_list_value):
if($hd_list_start<1){$hd_list_start++;continue;}
if($hd_list_step %1!=0){$hd_list_step++;continue;}
$hd_list_step++;$hd["list"]["r"]["first"]=$hd_list_id==0?true:false;
$hd["list"]["r"]["last"]=$hd_list_id>=$hd_list_row-1?true:false;
$hd["list"]["r"]["index"]=$hd_list_id+1;
$r=$hd_list_value;?>

                <tr class='msg' aid="<?php echo $r['aid'];?>">
                    <td><input type="checkbox" name="ck"/></td>
                    <td><?php echo $r['aid'];?></td>
                    <td><?php echo $r['title'];?></td>
                    <td><?php echo $r['catname'];?></td>
                    <td><?php echo $r['click'];?></td>
                    <td><?php echo format_time($r['addtime']);?></td>
                    <td>
                        <a href="http://localhost/cms0121/admin.php/arc/editshow/aid/<?php echo $r['aid'];?>">编辑</a> |
                        <a href="" aid="<?php echo $r['aid'];?>" class="arcdel">删除</a> |
                        <a href="http://localhost/cms0121/admin.php/arc/yulan/aid/<?php echo $r['aid'];?>">预览</a> |
                    </td>
                </tr>
            <?php if($hd_list_id+1>=$hd_list_row){break;}
$hd_list_id++;
endforeach;
$hd["list"]["r"]["total"]=$hd_list_id+1;
endif;
?>
        </tbody>
	</table>
    <div class="quanxuan" style="font-size:12px; margin-top:10px">
        <span class="qx" style="cursor: pointer">全选/取消</span>
        <span class="delall">删除</span>
        <!-- <span>取消选择</span> -->
        
    </div>

</body>
</html>